home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
014
/
chop.arc
/
CHOP.DOC
next >
Wrap
Text File
|
1985-12-08
|
1KB
|
28 lines
This program splits the input file into smaller files.
USAGE: CHOP FILENAME SIZE -SWITCHES
Version 1.1. Written by W. J. Kennamer and released into the public domain.
FILENAME is any valid MS-DOS filename. Wildcards are not supported.
Output file names will be FILENAME.1, FILENAME.2, etc.
Output files are always terminated with a carriage return and a <ctrl>Z.
SIZE is the desired file size for each new file.
SWITCHES must follow both the FILENAME and SIZE parameters,
and may be entered in any order. Switches may be combined.
Valid SWITCHES are:
-s strict ║ chop file at exact SIZE boundary.
-r return ║ chop file at first carriage return
║ following SIZE characters (default).
-px partition ║ partition file into x equal units.
SIZE is ignored (and may be omitted) if
you choose this option.
File pointer fp1 is the input file. fp2 is always the output
file, though its name changes as new output files are
opened.
e input file. f